using EPiServer.Core;

namespace OpenWaves.EPiServer.Localization
{
    public static class LanguageManagerExtensions
    {
        public static string Translate(this LanguageManager manager, TranslationEntry key)
        {
            return manager.Translate(key.Path);
        }
    }
}